package com.ruiysoft.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruiysoft.crm.model.entity.BizBatchClientRecord;

import java.util.List;

/**
 * @author fanyl
 */
public interface BizBatchClientRecordService extends IService<BizBatchClientRecord> {

    /**
     * 插入批次号
     *
     * @param clientIds 客户id集合
     * @param userId    用户id
     * @param type      类型，分配i数据类型和导入数据i类型
     * @return 批次号记录结果
     */
    boolean insert(List<Integer> clientIds, int userId, String type, String remark, String userName);

    IPage batchNuFindDetail(Page feny, String batchNu);
}
